import Vue from 'vue'
import Vuex from 'vuex'
import createPersistedState from "vuex-persistedstate"
import user from './modules/user'
import bookType from './modules/bookType'
import issuerList from './modules/issuerList'
import HSearchInfo from './modules/HSearchInfo'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    user,
    bookType,
    issuerList,
    HSearchInfo
  },
  plugins: [createPersistedState()]
})
